<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label">员工</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.uid|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">订单状态</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.state|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">成交金额</label>
            <div class="layui-input-block">
                <input type="number" class="layui-input" value="{$row.total_amount|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">已收金额</label>
            <div class="layui-input-block">
                <input type="number" class="layui-input" value="{$row.pay_amount|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">提成比例</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.ratio|default=''}" disabled>
            </div>
        </div>
        {if $row.state == '已结算'}
        <div class="layui-form-item">
            <label class="layui-form-label">提成金额</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.ratio_amount|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结算时间</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.ratio_time|default=''}" disabled>
            </div>
        </div>
        {/if}
        <div class="layui-form-item">
            <label class="layui-form-label">项目状态</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.uid|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户名字</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.name|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">订单类型</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.type|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户需求</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" disabled>{$row.demand|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户手机号</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.phone|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户QQ</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.qq|default=''}" disabled>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户微信</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$row.weixin|default=''}" disabled>
            </div>
        </div>
        <div class="hr-line"></div>
    </form>
</div>